<template>
  <div class="canvas-two">
    <h1>第一层：下面都是一些数据可视化实例。</h1>
    <div class="canvas-histogram">
      <h1>第二层：柱状图</h1>
      <canvas id="histogramCanvas" width="800" height="420"></canvas>
    </div>
  </div>
</template>

<script>
export default {
  name: 'SvgView'
}
</script>

<style lang="scss" scoped>
.canvas {
  &-two {
    color: red;
  }

  &-histogram {
    color: green;
  }
}
</style>
